package com.ld.control.business.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ld.control.business.equipment.model.EquipmentHolePositionConvertModel;
import com.ld.control.business.equipment.vo.req.EquipmentHolePositionConvertReqVo;
import com.ld.control.business.equipment.vo.resp.EquipmentHolePositionConvertRespVo;
import com.ld.control.common.vo.GeneratePageListVo;

import java.util.Map;

/**
 * <p>
 * 设备孔位映射表 服务类
 * </p>
 *
 * @author wangfeng
 * @since 2025-06-20
 */
public interface EquipmentHolePositionConvertService extends IService<EquipmentHolePositionConvertModel> {

    Map<Integer, EquipmentHolePositionConvertModel> getMap(Long equipmentId);

    void add(EquipmentHolePositionConvertReqVo reqVo);

    void updateById(EquipmentHolePositionConvertReqVo reqVo);

    void deleteById(Long id);

    EquipmentHolePositionConvertRespVo getById(Long id);

    GeneratePageListVo<EquipmentHolePositionConvertRespVo> getPageList(Long equipmentId, Integer current, Integer size);
}
